
#pragma once

#include <stdio.h>

struct ImportContext;

typedef void (* ImportFeedback)(const char * str);

struct ImportContext * create_import_context(FILE * fdest,
                                             FILE * fallCountries,
                                             FILE * falternateNames,
                                             FILE * fcountryInfo,
                                             ImportFeedback verbose,
                                             ImportFeedback error);

void start_import(struct ImportContext * ctx);

void free_import_context(struct ImportContext * ctx);

